package com.lrd.snapshotorder.service;

import com.lrd.snapshotorder.protocol.ResultData;
import com.lrd.snapshotorder.protocol.dto.address.RecipientAddressListDto;
import com.lrd.snapshotorder.protocol.dto.address.RecipientAddressQueryDto;
import com.lrd.snapshotorder.protocol.dto.address.RecipientAddressSaveDto;

import java.util.List;

public interface RecipientAddressService {
    ResultData<List<RecipientAddressListDto>> queryRecipientAddressList(RecipientAddressQueryDto dto);

    ResultData<Boolean> saveRecipientAddress(RecipientAddressSaveDto dto);

    ResultData<Boolean> setRecipientAddressStatus(Integer id);
}
